import 'package:json_annotation/json_annotation.dart';
part 'recipe_module_api.g.dart';

@JsonSerializable()
class ResponseRecipeModuleApi {
  final String id;
  final String name;
  final String? ossUrls;
  final int sort;
  final int? style;
  final int? showStyle;

  factory ResponseRecipeModuleApi.fromJson(Map<String, dynamic> json) =>
      _$ResponseRecipeModuleApiFromJson(json);

  ResponseRecipeModuleApi({
    required this.id,
    required this.name,
    required this.ossUrls,
    required this.sort,
    required this.style,
    required this.showStyle,
  });
}
